package com.example.wx.dao.entity;

import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.experimental.Accessors;


/**
 * 微信公众号消息记录表
 * 
 * @author ZhangBin
 * @date 2025-04-09 16:01:57
 * @Description:
 */
@Data
@Accessors(chain = true)
@ApiModel(value="微信公众号消息记录表", description="微信公众号消息记录表")
public class WxPublicMessageRecordDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value = "")
	private Long id;
	@ApiModelProperty(value = "微信公众号appId")
	private Long wxPublicAppId;
	@ApiModelProperty(value = "微信公众号名称")
	private String wxPublicName;
	@ApiModelProperty(value = "微信模板id")
	private String wxTemplateId;
	@ApiModelProperty(value = "消息类型（vk模板id）")
	private String vkTemplateId;
	@ApiModelProperty(value = "消息内容")
	private String wxMessageContent;
	@ApiModelProperty(value = "推送时间")
	private LocalDateTime sendTime;
	@ApiModelProperty(value = "消息发送状态：0:初始化，10：成功，20：失败")
	private Integer sendStatus;
	@ApiModelProperty(value = "失败原因")
	private String failReason;
	@ApiModelProperty(value = "接收者微信openId")
	private String wxOpenId;
	@ApiModelProperty(value = "接收者id")
	private Long receiveUserId;
	@ApiModelProperty(value = "接收者工号")
	private Long receiveUserCode;
	@ApiModelProperty(value = "接收者姓名")
	private String receiveEmployeeName;
	@ApiModelProperty(value = "消息所属区域branchId")
	private Long salesAreaBranchId;
	@ApiModelProperty(value = "消息所属区域code")
	private String salesAreaCode;
	@ApiModelProperty(value = "消息所属区域name")
	private String salesAreaName;
	@ApiModelProperty(value = "消息所属一级区域branchId")
	private String salesFirstAreaBranchId;
	@ApiModelProperty(value = "消息所属一级区域code")
	private String salesFirstAreaCode;
	@ApiModelProperty(value = "消息所属一级区域name")
	private String salesFirstAreaName;
	@ApiModelProperty(value = "是否删除")
	private Integer deleteFlag;
	@ApiModelProperty(value = "创建人ID")
	private Long createBy;
	@ApiModelProperty(value = "创建人code")
	private String createCode;
	@ApiModelProperty(value = "创建人名称")
	private String createName;
	@ApiModelProperty(value = "创建时间")
	private LocalDateTime createTime;
	@ApiModelProperty(value = "更新人ID")
	private Long updateBy;
	@ApiModelProperty(value = "更新人code")
	private String updateCode;
	@ApiModelProperty(value = "修改人名称")
	private String updateName;
	@ApiModelProperty(value = "修改时间")
	private LocalDateTime updateTime;
}
